package com.zbj.nacos.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Service;

@Service
@RefreshScope
public class ConfigService {
	
	 @Value("${cardNum:xixi}")
	 private String  myName;

	public String getMyName() {
		return myName;
	}
	 
	 

}
